from django.db import models
from  django.contrib.auth.models import AbstractUser


# Create your models here.

class MyUser(AbstractUser):

    phone_num = models.CharField(max_length=11, verbose_name='用户手机号', default=None, unique=True, null=True)
    # 新建一个电话字段 unique字段不可重复 null m 可为空

